//
//  DataBaseHandle.h
//  PTravel
//
//  Created by dllo on 15/11/28.
//  Copyright © 2015年 李涵. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "WebDiscount.h"
@interface DataBaseHandle : NSObject

@property(nonatomic,retain)FMDatabase *db;
+ (instancetype)shareDataBase;

//创建表
-(void)createTableSql:(NSString *)sql;

//插入数据
-(void)insertData:(NSString *)sql;
-(NSMutableArray *)selectDataTableSql:(NSString *)sql;
-(NSMutableArray *)selectDiscountSql:(NSString *)sql;

//删除表
-(void)dropTableDropSql:(NSString *)DropSql CreateSql:(NSString *)CreateSql;
//删除
-(void)deleteDataTableSql:(NSString *)deleteSql;




@end
